package trash.Tmp;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class ReadTest
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        System.out.println("Enter Characters, press \'q\' to exit:");
        char c = 0;
        do
        {
            c = (char)reader.read();
            System.out.println(c);
        }while (c != 'q');
    }
}
